export default [
    {
        url: "/api/getUser",
        method: "get",
        response: () => {
            return {
                code: 200,
                message: "ok",
                data: ["tom", "jerry"]
            };
        }
    },{
        url: "/API/CMD/CUBIX_TABLE_INFO",
        method: "post",
        response: () => {
            return {
                "code": "SUCCESS",
                "message": "SUCCESS",
                "description": null,
                "content":{
                    "title": "数据表配置表",
                    "selection": {
                        "enable": true
                    },
                    "toolbar": {
                        "visible": true,
                        "left": [
                            {
                                "type": "SYS_TITLE",
                                "title": "数据表配置表",
                                "icon": "Search"
                            }
                        ],
                        "middle": [],
                        "right": [
                            {
                                "type": "SYS_SEARCH",
                                "sformButton": "true"
                            },{
                                "type": "SYS_CREATE",
                                "title": "新建"
                            },{
                                "type": "SYS_REMOVE",
                                "title": "删除"
                            },{
                                "type": "SYS_SFORM",
                                "title": "高级搜索"
                            },{
                                "type": "SYS_CUSTOM",
                                "title": "测试1",
                                "inMore": true
                            },{
                                "type": "SYS_CUSTOM",
                                "title": "测试2",
                                "inMore": true
                            }
                        ]
                    },
                    "rowAction": {
                        "enable": true,
                        "actions": [
                            {
                                "type": "SYS_ROW_EDIT",
                                "title": "编辑"
                            },{
                                "type": "SYS_ROW_REMOVE",
                                "title": "删除"
                            },{
                                "type": "SYS_ROW_CUSTOM",
                                "title": "测试3",
                                "inMore": true
                            }
                        ]
                    },
                    "columns": [
                        {
                            "key": "ID",
                            "title": "ID",
                            "visible": true,
                            "isKey": true
                        },{
                            "key": "CODE",
                            "title": "编码",
                            "visible": true
                        },{
                            "key": "NAME",
                            "title": "名称",
                            "visible": true
                        },{
                            "key": "DESCRIPTION",
                            "title": "描述",
                            "visible": true
                        },{
                            "key": "REMARK",
                            "title": "备注",
                            "visible": true
                        },{
                            "key": "CREATOR",
                            "title": "创建人ID",
                            "visible": true
                        },{
                            "key": "CREATE_TIME",
                            "title": "创建时间",
                            "visible": true
                        },{
                            "key": "UPDATER",
                            "title": "更新人ID",
                            "visible": true
                        },{
                            "key": "UPDATE_TIME",
                            "title": "更新时间",
                            "visible": true
                        },{
                            "key": "DELETED",
                            "title": "是否删除",
                            "visible": true
                        },{
                            "key": "CONFIG",
                            "title": "配置内容",
                            "visible": false
                        }
                    ],
                    "dataInfo": [
                        {
                            "info": "C:CUBIX_TABLE_CONFIG",
                            "sform": []
                        }
                    ]
                },
                "exception": null

            };
        }
    },{
        url: "/API/CMD/CUBIX_TABLE_DATA",
        method: "post",
        response: () => {
            return {
                "code": "SUCCESS",
                "message": "SUCCESS",
                "description": null,
                "content": {
                    "summary": "汇总数据",
                    "tableData": {
                        "records": [
                            {
                                "UPDATE_TIME": "2022-03-30T14:20:49.000+0000",
                                "DELETED": 0,
                                "NAME": "数据表配置",
                                "CONFIG": "{\n  \"title\": \"数据表配置表\",\n  \"selection\": {\n    \"enable\": true\n  },\n  \"toolbar\": {\n    \"visible\": true,\n    \"left\": [\n      {\n        \"type\": \"SYS_TITLE\",\n        \"title\": \"数据表配置表\",\n        \"icon\": \"Search\"\n      }\n    ],\n    \"middle\": [],\n    \"right\": [\n      {\n        \"type\": \"SYS_SEARCH\"\n      },{\n        \"type\": \"SYS_CREATE\",\n        \"title\": \"新建\"\n      },{\n        \"type\": \"SYS_REMOVE\",\n        \"title\": \"删除\"\n      },{\n        \"type\": \"SYS_SFORM\",\n        \"title\": \"高级搜索\"\n      },{\n        \"type\": \"SYS_CUSTOM\",\n        \"title\": \"测试1\",\n        \"inMore\": true\n      },{\n        \"type\": \"SYS_CUSTOM\",\n        \"title\": \"测试2\",\n        \"inMore\": true\n      }\n    ]\n  },\n  \"rowAction\": {\n    \"enable\": true,\n    \"actions\": [\n      {\n        \"type\": \"SYS_ROW_EDIT\",\n        \"title\": \"编辑\"\n      },{\n        \"type\": \"SYS_ROW_REMOVE\",\n        \"title\": \"删除\"\n      },{\n        \"type\": \"SYS_ROW_CUSTOM\",\n        \"title\": \"测试3\",\n        \"inMore\": true\n      }\n    ]\n  },\n  \"columns\": [\n    {\n      \"key\": \"ID\",\n      \"title\": \"ID\",\n      \"visible\": true,\n      \"isKey\": true\n    },{\n      \"key\": \"CODE\",\n      \"title\": \"编码\",\n      \"visible\": true\n    },{\n      \"key\": \"NAME\",\n      \"title\": \"名称\",\n      \"visible\": true\n    },{\n      \"key\": \"DESCRIPTION\",\n      \"title\": \"描述\",\n      \"visible\": true\n    },{\n      \"key\": \"REMARK\",\n      \"title\": \"备注\",\n      \"visible\": true\n    },{\n      \"key\": \"CREATOR\",\n      \"title\": \"创建人ID\",\n      \"visible\": true\n    },{\n      \"key\": \"CREATE_TIME\",\n      \"title\": \"创建时间\",\n      \"visible\": true\n    },{\n      \"key\": \"UPDATER\",\n      \"title\": \"更新人ID\",\n      \"visible\": true\n    },{\n      \"key\": \"UPDATE_TIME\",\n      \"title\": \"更新时间\",\n      \"visible\": true\n    },{\n      \"key\": \"DELETED\",\n      \"title\": \"是否删除\",\n      \"visible\": true\n    },{\n      \"key\": \"CONFIG\",\n      \"title\": \"配置内容\",\n      \"visible\": false\n    }\n  ],\n  \"dataInfo\": [\n    {\n      \"info\": \"C:CUBIX_TABLE_CONFIG\",\n      \"sform\": []\n    }\n  ]\n}",
                                "CODE": "cubix_table_config",
                                "DESCRIPTION": "数据表配置",
                                "CREATOR": "zeric",
                                "ID": "1",
                                "CREATE_TIME": "2022-03-30T14:20:43.000+0000",
                                "UPDATER": "zeric",
                                "REMARK": "数据表配置"
                            },
                            {
                                "UPDATE_TIME": "2022-03-30T14:20:49.000+0000",
                                "DELETED": 0,
                                "NAME": "数据表配置",
                                "CONFIG": "{\n  \"title\": \"数据表配置表\",\n  \"selection\": {\n    \"enable\": true\n  },\n  \"toolbar\": {\n    \"visible\": true,\n    \"left\": [\n      {\n        \"type\": \"SYS_TITLE\",\n        \"title\": \"数据表配置表\",\n        \"icon\": \"Search\"\n      }\n    ],\n    \"middle\": [],\n    \"right\": [\n      {\n        \"type\": \"SYS_SEARCH\"\n      },{\n        \"type\": \"SYS_CREATE\",\n        \"title\": \"新建\"\n      },{\n        \"type\": \"SYS_REMOVE\",\n        \"title\": \"删除\"\n      },{\n        \"type\": \"SYS_SFORM\",\n        \"title\": \"高级搜索\"\n      },{\n        \"type\": \"SYS_CUSTOM\",\n        \"title\": \"测试1\",\n        \"inMore\": true\n      },{\n        \"type\": \"SYS_CUSTOM\",\n        \"title\": \"测试2\",\n        \"inMore\": true\n      }\n    ]\n  },\n  \"rowAction\": {\n    \"enable\": true,\n    \"actions\": [\n      {\n        \"type\": \"SYS_ROW_EDIT\",\n        \"title\": \"编辑\"\n      },{\n        \"type\": \"SYS_ROW_REMOVE\",\n        \"title\": \"删除\"\n      },{\n        \"type\": \"SYS_ROW_CUSTOM\",\n        \"title\": \"测试3\",\n        \"inMore\": true\n      }\n    ]\n  },\n  \"columns\": [\n    {\n      \"key\": \"ID\",\n      \"title\": \"ID\",\n      \"visible\": true,\n      \"isKey\": true\n    },{\n      \"key\": \"CODE\",\n      \"title\": \"编码\",\n      \"visible\": true\n    },{\n      \"key\": \"NAME\",\n      \"title\": \"名称\",\n      \"visible\": true\n    },{\n      \"key\": \"DESCRIPTION\",\n      \"title\": \"描述\",\n      \"visible\": true\n    },{\n      \"key\": \"REMARK\",\n      \"title\": \"备注\",\n      \"visible\": true\n    },{\n      \"key\": \"CREATOR\",\n      \"title\": \"创建人ID\",\n      \"visible\": true\n    },{\n      \"key\": \"CREATE_TIME\",\n      \"title\": \"创建时间\",\n      \"visible\": true\n    },{\n      \"key\": \"UPDATER\",\n      \"title\": \"更新人ID\",\n      \"visible\": true\n    },{\n      \"key\": \"UPDATE_TIME\",\n      \"title\": \"更新时间\",\n      \"visible\": true\n    },{\n      \"key\": \"DELETED\",\n      \"title\": \"是否删除\",\n      \"visible\": false\n    },{\n      \"key\": \"CONFIG\",\n      \"title\": \"配置内容\",\n      \"visible\": false\n    }\n  ],\n  \"dataInfo\": [\n    {\n      \"info\": \"C:CUBIX_TABLE_CONFIG\",\n      \"sform\": []\n    }\n  ]\n}",
                                "CODE": "cubix_table_config1",
                                "DESCRIPTION": "数据表配置",
                                "CREATOR": "zeric",
                                "ID": "2",
                                "CREATE_TIME": "2022-03-30T14:20:43.000+0000",
                                "UPDATER": "zeric",
                                "REMARK": "数据表配置"
                            }
                        ],
                        "total": 2,
                        "current": 1,
                        "size": 10,
                        "orders": [],
                        "isSearchCount": true
                    }
                },
                "exception": null
            };
        }
    }
];